package com.common.authentication;

/**
 * @Description: Oauth2密码模式的身份信息
 */
public class Oauth2PasswordModeAuthentication extends Oauth2ModeAuthentication{

    private Object businessId;

    /**
     * 构造一个 Oauth2PasswordModeAuthentication 实例。
     * @param businessId 业务相关的唯一标识
     */
    public Oauth2PasswordModeAuthentication(Object businessId) {
        super(businessId);
        this.businessId = businessId;
    }

    /**
     * 获取业务 ID。
     * @return 业务相关的唯一标识
     */
    public Object getBusinessId() {
        return businessId;
    }

    /**
     * 设置业务 ID。
     * @param businessId 业务相关的唯一标识
     */
    public void setBusinessId(Object businessId) {
        this.businessId = businessId;
    }

}
